import requests
import os
response = requests.get("https://www.baidu.com")
os.makedirs("./web",exist_ok=True)
f = open("./web/index.html", "+a")

# print(response)
f.write(response.text)
f.close()

